<h2>
	<?php echo $data->album->getName(); ?>
	<small><a href="?controller=Album&action=addpict&aid=<?php echo $data->album->getId(); ?>">Ajouter des images</a></small>
</h2>
<?php
$imgs = $data->album->getImgs();
foreach ($imgs as $i): ?>
<div class="album">
	<a href="?controller=Photo&action=next&imgId=<?php echo $i->getId(); ?>">
		<img src="<?php echo $i->getUrl(); ?>" alt="" />
	</a>
</div>
<?php endforeach; ?>